package com.springcloud.configclient.configserver;

/**
 * @description:
 * @see:com.springcloud.configserver
 * @author:xuan
 * @createTime:2020/12/15 20:40
 * @version:1.0
 */
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.config.server.EnableConfigServer;
import org.springframework.cloud.netflix.eureka.EnableEurekaClient;

@SpringBootApplication
@EnableConfigServer
@EnableEurekaClient //启动类增加@EnableEurekaClient激活对注册中心的支持
public class ConfigServerApplication {

    public static void main(String[] args) {
        SpringApplication.run(ConfigServerApplication.class, args);
    }

}
